package xyz.jcat.biz.admin.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.util.Date;

/**
 *
 * @author yueyue
 * auto on 2022-04-28 21:10:33
 */
@Getter
@Setter
@TableName("`sys_permission`")
public class PermissionPo {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    /** 权限类型 */
    private String permissionType;
    /** 权限名称 */
    private String permissionName;
    /** 权限标识 */
    private String permission;
    /** 请求uri */
    private String reqUri;
    /** 请求方式 */
    private String reqMethod;
    /** 是否需要鉴权 */
    private Integer needCheck;
    /** 上级id */
    private Long pid;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    @TableField(fill = FieldFill.INSERT)
    private Long creator;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updater;

}
